home *** CD-ROM | disk | FTP | other *** search
/ Almathera Ten Pack 3: CDPD 3 / Almathera Ten on Ten - Disc 3: CDPD3.iso / scope / 051-075 / scopedisk57 / expand / main.h < prev    next >
C/C++ Source or Header  |  1995-03-19  |  1KB  |  47 lines

  1. /*
  2.  *                              M A I N . H
  3.  *
  4.  *  Header file for MAIN.C, a module in EXPAND, a file maintenance utility
  5.  *  to decompress files; compatible with the public domain COMPRESS utility
  6.  *  (Rev. 4) by Spencer W. Thomas, et al.
  7.  *
  8.  *-----------------------------------------------------------------------
  9.  *  Author: Lyle V. Rains
  10.  *-----------------------------------------------------------------------
  11.  *  Revision History:
  12.  */
  13.  
  14. /*
  15.  * Externally visible definitions and objects in MAIN.C
  16.  */
  17.  
  18. #define VERSION     "1.00"
  19.  
  20. extern char *myname;
  21.  
  22. #ifdef MAIN
  23.  
  24.   /*
  25.    * Internal definitions for MAIN.C
  26.    */
  27.  
  28. #include <stdio.h>
  29. #include <ctype.h>
  30. #include <string.h>
  31. #include "system.h"
  32. #include "expand.h"
  33.  
  34. #define QUICK       0           /* Usage() paramaters                   */
  35. #define ALL         1
  36.  
  37. #define MYNAME      "expand"     /* Default command name                 */
  38. #define STDIN       "<stdin>"
  39. #define STDOUT      "<stdout>"
  40.  
  41. #define BIT_MASK    0x1F        /* Maxbits field (3rd byte input)       */
  42. #define BLOCK_MASK  0x80        /* Block compression flag (3rd byte)    */
  43.  
  44. #define U eprintf
  45.  
  46. #endif
  47.